package ge.modules.events;

import ge.scenes.EventTrack;

public class EventTrackGenerator extends EventModule {

	private EventTrack t;
	/**
	 * It's good idea to establish a id for the Even Track in order to 
	 * identify different events
	 * @param id Id of the event track
	 * @param track The Event Track 
	 */
	public EventTrackGenerator(int id, EventTrack track)
	{
		super.setId(id);
		attachMethod("activated");
		t = track;
		
	}
	
	public boolean activate()
	{
		return t.isTrackEvent();
	}
	@Override
	public void update() 
	{
	}

	@Override
	public void draw() 
	{
	}

}
